package com.wkk.authorization.controller;

import com.wkk.authorization.service.UmsPermissionService;
import com.wkk.authorization.service.UmsRolePermissionService;
import com.wkk.authorization.service.UmsUserPermissionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : WangKeKe
 * @date : 2020/10/5 12:45
 * Description : 权限控制类
 */

@RestController
@Slf4j
@RequestMapping("/ums/permission")
public class UmsPermissionController {

    @Autowired
    private UmsPermissionService permissionService;

    @Autowired
    private UmsUserPermissionService userPermissionService;

    @Autowired
    private UmsRolePermissionService rolePermissionService;

    // 更新角色的权限

    // 更新用户的权限

    // 禁用某用户的某权限

    // 禁用某角色的某权限

    // 获取某用户的所有权限

    // 获取某角色的所有权限

}
